package com.tbit.main.pojo;

/**
 * @author LMY
 * @create 2021-01-21 10:24
 * 告警消息
 */
public class Alarm {

    private Long dt;    //时间戳
    private Integer alarmType;  //告警类型
    private String errCode;
    private String machineNO;   //设备编号

    public Long getDt() {
        return dt;
    }

    public void setDt(Long dt) {
        this.dt = dt;
    }

    public Integer getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(Integer alarmType) {
        this.alarmType = alarmType;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getMachineNO() {
        return machineNO;
    }

    public void setMachineNO(String machineNO) {
        this.machineNO = machineNO;
    }

    @Override
    public String toString() {
        return "Alarm{" +
                "dt=" + dt +
                ", alarmType=" + alarmType +
                ", errCode='" + errCode + '\'' +
                ", machineNO='" + machineNO + '\'' +
                '}';
    }
}
